package DesignPatern.A11_装饰者模式.A01_基本模式;

/**
 * @Author: Du
 * @Date: 2021/7/30 10:54
 */
public class ScoreDecorator extends Decorator
{
    public ScoreDecorator(SchoolReport sr)
    {
        super(sr);
    }
    
    private void reportSort()
    {
        System.out.println("我的排名是第38名");
    }
    
    @Override
    public void report()
    {
        super.report();
        this.reportSort();
    }
}
